package com.teacher.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.teacher.common.CommonResult;
import com.teacher.pojo.dto.rewarddistribution.RewardDistributionGetDto;
import com.teacher.pojo.entity.RewardDistribution;
import com.baomidou.mybatisplus.extension.service.IService;
import com.teacher.pojo.vo.rewarddistribution.RewardDistributionGetVo;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 奖学金分配表 服务类
 * </p>
 *
 * @author zfm
 * @since 2021-08-23
 */
public interface IRewardDistributionService extends IService<RewardDistribution> {

    /**
     * 查询奖学金分配
     *
     * @param dto
     * @return
     */
    CommonResult<IPage<RewardDistributionGetVo>> getPage(RewardDistributionGetDto dto);

    /**
     * 导入奖学金分配
     *
     * @param file
     * @return
     */
    CommonResult<String> upload(MultipartFile file);
}
